// 坐席状态枚举
export const SeatStateEnum = {
  NotReady: 'NotReady',
  Ready: 'Ready',
  Busy: 'Busy',
  Rest: 'Rest',
  Dining: 'Dining',
  Meeting: 'Meeting',
  Training: 'Training',
  Report: 'Report',
};

export const SeatStateMap = {
  [SeatStateEnum.NotReady]: { command: 'notready' },
  [SeatStateEnum.Ready]: { command: 'ready' },
  [SeatStateEnum.Busy]: { command: 'rest' },
  [SeatStateEnum.Rest]: { command: 'free' },
  [SeatStateEnum.Dining]: {
    command: 'rest',
    reason: '01',
  },
  [SeatStateEnum.Meeting]: {
    command: 'rest',
    reason: '02',
  },
  [SeatStateEnum.Training]: {
    command: 'rest',
    reason: '03',
  },
  [SeatStateEnum.Training]: {
    command: 'rest',
    reason: '04',
  },
};

// 监听的 status 返回值与坐席状态的映射
export const StatusEnum = {
  Available: 'Ready',
  'Available (On Demand)': 'Ready',
  'On Break': 'NotReady',
};
